package com.qhyt.generate;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author jie
 * @date 2020/11/12 -17:36
 */
public class GenerateDto {

    @NotNull
    private String tableName;
    @NotNull
    private String controllerDescription;
    @NotNull
    private String pkPrefix;
    @NotNull
    private Boolean guidFlag = true;

    private Integer templateIndex = 1;

    private List<String> parameterClassNameList;

    public List<String> getParameterClassNameList() {
        return parameterClassNameList;
    }

    public void setParameterClassNameList(List<String> parameterClassNameList) {
        this.parameterClassNameList = parameterClassNameList;
    }

    public Integer getTemplateIndex() {
        return templateIndex;
    }

    public void setTemplateIndex(Integer templateIndex) {
        this.templateIndex = templateIndex;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getControllerDescription() {
        return controllerDescription;
    }

    public void setControllerDescription(String controllerDescription) {
        this.controllerDescription = controllerDescription;
    }

    public String getPkPrefix() {
        return pkPrefix;
    }

    public void setPkPrefix(String pkPrefix) {
        this.pkPrefix = pkPrefix;
    }

    public Boolean getGuidFlag() {
        return guidFlag;
    }

    public void setGuidFlag(Boolean guidFlag) {
        this.guidFlag = guidFlag;
    }
}
